<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8"/>
<title>Insert title here</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<form action="update" th:object="${UserBean}" method="post">
    <input name="userID" type="text" th:value="${UserBean.userID}"></input>
    <input name="password" type="text" th:value="${UserBean.password}"/>
    <button type="submit" name="login">update</button>
</form>
</body>
</html>